package com.carkeeper.mongo.service;

import com.carkeeper.entity.PageResult;
import com.carkeeper.mongo.pojo.Appraisal;


import java.util.List;
import java.util.Map;

public interface MongoService {

    void saveAll();

    Appraisal findOne(String orderId);

    void delete(String orderId);

    PageResult<Appraisal> search(Map<String,Object> searchMap, Integer currPage, Integer pageSize);

    PageResult<Appraisal> find(Integer currPage, Integer pageSize);

    void add(com.carkeeper.appraise.pojo.Appraisal parseObject);
}
